/*********************************************************
 *  Copyright (c) 2011 by Web Information Systems (WIS) Group, 
 *  Delft University of Technology.
 *  Qi Gao, http://wis.ewi.tudelft.nl/index.php/home-qi-gao
 *  
 *  Some rights reserved.
 *
 *  Contact: q.gao@tudelft.nl
 *
 **********************************************************/
package org.persweb.genius.model;

import java.util.Map;

/**
 * @author Qi Gao <a href="mailto:q.gao@tudelft.nl">q.gao@tudelft.nl</a>
 * @version created on Aug 1, 2011 2:33:10 PM
 */
public class InterestsProfileImpl implements InterestsProfile {
	
	private Map<Concept, Double> profile = null;

	/**
	 * 
	 */
	public InterestsProfileImpl() {
		super();
		// TODO Auto-generated constructor stub
	}

	/**
	 * @param profile
	 */
	public InterestsProfileImpl(Map<Concept, Double> profile) {
		super();
		this.profile = profile;
	}

	/* (non-Javadoc)
	 * @see org.persweb.genius.model.InterestsProfile#getInterestsProfile()
	 */
	@Override
	public Map<Concept, Double> getInterestsProfile() {
		return profile;
	}

	/* (non-Javadoc)
	 * @see org.persweb.genius.model.InterestsProfile#setInterestsProfile(java.util.Map)
	 */
	@Override
	public void setInterestsProfile(Map<Concept, Double> profile) {
		this.profile = profile;
	}

	/* (non-Javadoc)
	 * @see org.persweb.genius.model.InterestsProfile#size()
	 */
	@Override
	public int size() {
		return this.profile.size();
	}

}
